package objects;

public class SpetialFeature {
	private int id;
	private String name;
	private double value;
	private String aditionalInfo;
	public SpetialFeature(){
		id=0;
		name="";
		value=0;
	}
	public SpetialFeature(int id,String name, double value){
		this.id=id;
		this.name=name;
		this.value=value;
		aditionalInfo= new String();
	}
	public SpetialFeature(SpetialFeature feature) {
		this.id=feature.id;
		this.name=feature.name;
		this.value=feature.value;
		this.aditionalInfo=feature.aditionalInfo;
	}
	public SpetialFeature(int id) {
		this.id=id;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getValue() {
		return value;
	}
	public void setValue(double value) {
		this.value = value;
	}
	public String save() {
		
		return id+","+name+","+value;
	}
	public String getAditionalInfo() {
		return aditionalInfo;
	}
	public void setAditionalInfo(String aditionalInfo) {
		this.aditionalInfo = aditionalInfo;
	}
	
	

}
